package com.umpay.dto.merAccess.req.split;

import org.hibernate.validator.constraints.NotEmpty;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;

public class SplitCmd {

	@NotEmpty(message = "商户分账订单号不能为空")		
	@Pattern(message = "商户分账订单号格式不正确")
	private String split_order_id;	//商户订单号
	@NotEmpty(message = "商户分账订单日期不能为空")		
	@Pattern(message = "商户分账订单日期格式不正确")
	private String split_mer_date;	//商户订单日期
	@NotEmpty(message = "收款方用户号不能为空")		
	@Pattern(message = "收款方用户号格式不正确")
	private String in_user_id;	//收款方用户号
//	@NotEmpty(message = "收款方类型不能为空")		
//	@Pattern(message = "收款方类型格式不正确")
	private String in_user_type;	//收款方类型
//	@NotEmpty(message = "收款方账户类型不能为空")		
//	@Pattern(message = "收款方账户类型格式不正确")
	private String in_acc_type;	//收款方账户类型
	@NotEmpty(message = "金额不能为空")		
	@Pattern(message = "金额格式不正确")
	private String split_amount;	//金额
	
	
	public String getSplit_order_id() {
		return split_order_id;
	}
	public void setSplit_order_id(String split_order_id) {
		this.split_order_id = split_order_id;
	}
	public String getSplit_mer_date() {
		return split_mer_date;
	}
	public void setSplit_mer_date(String split_mer_date) {
		this.split_mer_date = split_mer_date;
	}
	public String getIn_user_id() {
		return in_user_id;
	}
	public void setIn_user_id(String in_user_id) {
		this.in_user_id = in_user_id;
	}
	public String getIn_user_type() {
		return in_user_type;
	}
	public void setIn_user_type(String in_user_type) {
		this.in_user_type = in_user_type;
	}
	public String getIn_acc_type() {
		return in_acc_type;
	}
	public void setIn_acc_type(String in_acc_type) {
		this.in_acc_type = in_acc_type;
	}
	public String getSplit_amount() {
		return split_amount;
	}
	public void setSplit_amount(String split_amount) {
		this.split_amount = split_amount;
	}
	@Override
	public String toString() {
		return "splitCmd [split_order_id=" + split_order_id + ", split_mer_date=" + split_mer_date + ", in_user_id="
				+ in_user_id + ", in_user_type=" + in_user_type + ", in_acc_type=" + in_acc_type + ", split_amount="
				+ split_amount + "]";
	}


}
